package com.milk.system.mapper;

import com.milk.system.model.entity.Comments;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.milk.system.model.bo.CommentsBO;
import com.milk.system.model.query.CommentsPageQuery;
import org.apache.ibatis.annotations.Mapper;

/**
 * 评论管理表 Mapper 接口
 *
 * @author milk
 * @since 2024-05-04
 */

@Mapper
public interface CommentsMapper extends BaseMapper<Comments> {

    /**
     * 获取用户分页列表
     *
     * @param page
     * @param queryParams 查询参数
     * @return
     */
    Page<CommentsBO> listPagedCommentss(Page<CommentsBO> page, CommentsPageQuery queryParams);

}
